﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CRM.Controller;

namespace CRM.Web.Admin
{
    public partial class Contect : System.Web.UI.Page
    {

        TextInfoController textInfoController = new TextInfoController();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindData();
            }
        }

        /// <summary>
        /// 1.网站标题
        /// ２.首页简介
        /// ７.联系我们
        /// </summary>
        protected void BindData()
        {
            var textInfo = textInfoController.GetSingle(7);
            if (textInfo != null)
            {
                this.ltContectInfo.Text = textInfo.TextValue;
            }
        }
    }
}